//
//  MBProgressHUD+MBHud.h
//  ltsport
//
//  Created by iOS on 2020/7/9.
//  Copyright © 2020 MengBao. All rights reserved.
//

#import "MBProgressHUD.h"

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (MBHud)

/// 显示HUD
/// @param message 需要显示的信息
/// @param view HUD显示的视图
/// @param completionBlock HUD显示结束后的回调
+ (void)showMessage:(NSString *)message toView:(nullable UIView *)view completionBlock:(nullable void (^)(void))completionBlock;

+ (void)showMessage:(NSString *)message toView:(nullable UIView *)view;

/// 显示网络错误信息
/// @param view HUD显示的视图
+ (void)showNetWorkErrorToView:(nullable UIView *)view;
@end

NS_ASSUME_NONNULL_END
